const state = {
  isLogin: true,
  token: '',
  userid: ''
}
const mutations = {
  changeIsLogin (state, payload) {
    state.isLogin = payload
  },
  changeToken (state, payload) {
    state.token = payload
  },
  changeUserid (state, payload) {
    state.userid = payload
  }
}
const actions = {
  loginAction () {

  },
  logoutAction () {

  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
